﻿using System;

namespace WMSSyncData.Model
{
    /// <summary>
    /// 生产发料调拨单接口
    /// </summary>
    [Table(TableName = "ttddev106101")]
    public class tddev106
    {
        /// <summary>
        /// id
        /// </summary>
        public string guid { get; set; }
        /// <summary>
        /// WMS单号
        /// </summary>
        public string WMSNO { get; set; }
        /// <summary>
        /// ERP单号
        /// </summary>
        public string orno { get; set; }
        /// <summary>
        /// 行号
        /// </summary>
        public int pono { get; set; }
        /// <summary>
        /// 出库类型
        /// </summary>
        public string otyp { get; set; }
        /// <summary>
        /// 出库仓库
        /// </summary>
        public string sfco { get; set; }
        /// <summary>
        /// 出库仓位
        /// </summary>
        public string sflo { get; set; }
        /// <summary>
        /// 物料
        /// </summary>
        public string item { get; set; }
        /// <summary>
        /// 入库仓库
        /// </summary>
        public string stco { get; set; }
        /// <summary>
        /// 入库库位
        /// </summary>
        public string stlo { get; set; }
        public decimal qoor { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int host { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string mess { get; set; }
        /// <summary>
        /// WMS写入日期
        /// </summary>
        public DateTime? edte1 { get; set; }
        /// <summary>
        /// ERP读取日期
        /// </summary>
        public DateTime? wdte1 { get; set; }
        /// <summary>
        /// ERP处理日期
        /// </summary>
        public DateTime? edte2 { get; set; }

        public int REFCNTD { get; set; }

        public int REFCNTU { get; set; }
        /// <summary>
        /// 订单系列
        /// </summary>
        public string seri { get; set; }
        /// <summary>
        /// 物料版本
        /// </summary>
        public string revi { get; set; }
        public string Remark1 { get; set; }
        public string Remark2 { get; set; }
        public string Remark3 { get; set; }
        public string Remark4 { get; set; }
        public string Remark5 { get; set; }
        /// <summary>
        /// ERP订单行号
        /// </summary>
        public int epon { get; set; }
        /// <summary>
        /// ERP订单行序号
        /// </summary>
        public int seqn { get; set; }

    }
}
